package com.ashapo.pattern.pattern018memento;

//第1步
//创建一个Memento类

public class Memento {

    private String state;

    public Memento(String state){
        this.state = state;
    }

    public String getState(){
        return state;
    }
}
